/**
 * Created by 功振 on 2016/3/30.
 */
angular.module('NatureCloud').value("ROLE", {
    DEVELOPER: "开发人员",
    QAER: "测试人员",
    OPERATOR: "运维人员"
});
angular.module('NatureCloud').value("VALUE", {
    WEB_SHELL_HOSTPORT: "115.28.226.88:3006"
});
angular.module('NatureCloud').value("VolMgrConf", {
    service_domain: "naturecloud.io",
    service_port:"80"
});

angular.module('NatureCloud').value("ReqSpecs", {
    specs: [
        "0.125Core 128M",
        "0.25Core 128M",
        "0.25Core 256M",
        "0.5Core 256M",
        "0.5Core 512M"
    ]
});

angular.module('NatureCloud').value("ADMIN", {
    ADMIN_USER: ["library"]
});
/**
 * registry v2 接口

 angular.module('NatureCloud').value("registryVersion", {
    deleteRepo: '/apiV2/deleteRepo?id=',  // compare to v1 "/api/deleteRepo?id=" just add V2 after 'api'
    getTagURL:"/apiV2/listTag?imageurl=" ,
    getImagesURL:"/apiV2/listImgV2?isMarket=",
    getImageInfoURL:"/apiV2/listImg?isMarket=",
    deleteImage:"/apiV2/deleteImage"
});
 */
angular.module('NatureCloud').value("registryVersion", {
    deleteRepo: '/api/deleteRepo?id=',  // compare to v1 "/api/deleteRepo?id=" just add V2 after 'api'
    getTagURL:"/api/listTag?imageurl=" ,
    getImagesURL:"/api/listImgV2?isMarket=",
    getImageInfoURL:"/api/listImg?isMarket=",
    deleteImage:"/api/deleteImage"
});
